#include <stdio.h>

/**
 * @brief main 测试unsigned 是否就是 unsigned int
 * @param argc
 * @param argv
 * @return
 */
int main(int argc, char const *argv[])
{
	unsigned un_num;
	unsigned int num;

	printf("sizeof(un_num)=%d\n",sizeof(un_num));
	printf("un_num=%d\n", un_num);

	printf("sizeof(num)=%d\n",sizeof(num));
	printf("num=%d\n", num);


	num = 4294967296/2-1;
	printf("num=%d\n", num);

	un_num = 4294967296/2-1;
	printf("num=%d\n", un_num);


	num = 4294967296/2+1;
	printf("num=%d\n", num);

	un_num = 4294967296/2+1;
	printf("num=%d\n", un_num);

	return 0;
}
